/**
 * NotificationType entity. Getters & setters.
 */
package com.xoomworks.rsfr.model;

import java.io.Serializable;

/**
 * The persistent class for the notificationtypes database table.
 * @author andrea.ghisa
 */
public class NotificationType extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * Resource NotificationType id.
     */
    public static final long RESOURCE_NOTIF = 1L;
    /**
     * TrainingSession NotificationType id.
     */
    public static final long TRAINING_NOTIF = 2L;
    /**
     * Requirement NotificationType id.
     */
    public static final long REQUIREMENT_NOTIF = 3L;
    /**
     * TrustedCompany request NotificationType id.
     */
    public static final long TRUST_REQUEST_NOTIF = 4L;

    private String notificationType;

    /**
     *Constructor with no specific fields.
     */
    public NotificationType() {
    }

    /**
     * Constructor whit specified parameters.
     * @param notificationType
     *            NotificationType Represents the type of the notification (e.g
     *            New resource)
     */
    public NotificationType(final String notificationType) {
        super();
        this.notificationType = notificationType;
    }

    /**
     * Gets the type of the notification.
     * @return notificationType String Represents the type of the notification.
     */
    public String getNotificationType() {
        return this.notificationType;
    }

    /**
     * Sets the notification type.
     * @param notificationType
     *            NotificationType Which is used to set the notificationType.
     */
    public void setNotificationType(final String notificationType) {
        this.notificationType = notificationType;
    }

}
